package nc.ui.tools.NCLocator;

import nc.bs.framework.common.NCLocator;

public class MyNCLocator {
	private MyNCLocator() {}

	private static MyNCLocator locator = new MyNCLocator();

	public static MyNCLocator getLocator() {
		return locator;
	}

	public nc.itf.pub.IPub getIPub() {
		return (nc.itf.pub.IPub) NCLocator.getInstance().lookup(
				nc.itf.pub.IPub.class.getName());
	}
	public nc.itf.pub.ISys getISys() {
		return (nc.itf.pub.ISys) NCLocator.getInstance().lookup(
				nc.itf.pub.ISys.class.getName());
	}
	public nc.itf.ehai.IZuojia getIZuojia() {
		return (nc.itf.ehai.IZuojia) NCLocator.getInstance().lookup(
				nc.itf.ehai.IZuojia.class.getName());
	}
	public nc.itf.ehai.IZuojiacha getIZuojiacha() {
		return (nc.itf.ehai.IZuojiacha) NCLocator.getInstance().lookup(
				nc.itf.ehai.IZuojiacha.class.getName());
	}
	public nc.itf.pub.ISerialNumber getISerialNumber() {
		return (nc.itf.pub.ISerialNumber) NCLocator.getInstance().lookup(
				nc.itf.pub.ISerialNumber.class.getName());
	}
	public nc.itf.ehai.IHetongjine getIHetongjine() {
		return (nc.itf.ehai.IHetongjine) NCLocator.getInstance().lookup(
				nc.itf.ehai.IHetongjine.class.getName());
	}
}
